package com.eeepay.eeepay_v2.model;

/**
 * Created by zw on 2016/10/10 0010.
 */
public class AppInfo {

    private static AppInfo instance;
    //app名称
    private String appName;
    //客户端状态:0不可用；1可用；2强制更新；3提醒更新；
    private int status=4;
    //版本号
    private String version;
    //下载二维码 URL
    private String codeUrl;
    //1为代理商使用，2为商户使用
    private int apply=9;

    private AppInfo(){}

    public static AppInfo getInstance() {
        if (instance == null) {
            synchronized (AppInfo.class) {
                if (instance == null) {
                    instance = new AppInfo();
                }
            }
        }
        return instance;
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String app_name) {
        this.appName = app_name;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getCodeUrl() {
        return codeUrl;
    }

    public void setCodeUrl(String codeUrl) {
        this.codeUrl = codeUrl;
    }

    public int getApply() {
        return apply;
    }

    public void setApply(int apply) {
        this.apply = apply;
    }
}
